home *** CD-ROM | disk | FTP | other *** search
- '\"
- '\" Copyright (c) 1993 The Regents of the University of California.
- '\" Copyright (c) 1994 Sun Microsystems, Inc.
- '\"
- '\" See the file "license.terms" for information on usage and redistribution
- '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- '\"
- '\" @(#) cd.n 1.2 94/12/17 16:17:42
- '\"
- .so man.macros
- .HS cd tcl
- .BS
- '\" Note: do not modify the .SH NAME line immediately below!
- .SH NAME
- cd \- Change working directory
- .SH SYNOPSIS
- \fBcd \fR?\fIdirName\fR?
- .BE
-
- .SH DESCRIPTION
- .PP
- Change the current working directory to \fIdirName\fR, or to the
- home directory (as specified in the HOME environment variable) if
- \fIdirName\fR is not given.
- If \fIdirName\fR starts with a tilde, then tilde-expansion is
- done as described for \fBTcl_TildeSubst\fR.
- Returns an empty string.
-
- .SH KEYWORDS
- working directory
-